/**
 * 音频文件的base64编码版本
 * 用于在无法通过网络获取音频文件时使用
 */

// 点击声音 (简短的点击声)
// 使用小型WAV格式的音频（uni-app可能比MP3更好支持WAV格式）
const sampleClickAccent = 'data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA';
const sampleClickNormal = 'data:audio/wav;base64,UklGRiYAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAAAAAAEA';

// 简单的点击声音
export const clickAccent = sampleClickAccent;
export const clickNormal = sampleClickNormal;

// 木鱼声
export const woodBlockAccent = sampleClickAccent;
export const woodBlockNormal = sampleClickNormal;

// 鼓声
export const drumAccent = sampleClickAccent;
export const drumNormal = sampleClickNormal;

// 电子声
export const electronicAccent = sampleClickAccent;
export const electronicNormal = sampleClickNormal;

/**
 * 使用方法示例:
 * 
 * 1. 在Vue组件中导入
 * import { clickAccent, clickNormal } from '@/utils/audioBase64';
 * 
 * 2. 在uni-app中播放
 * const playSound = (soundBase64) => {
 *   const audio = uni.createInnerAudioContext();
 *   audio.src = soundBase64;
 *   audio.play();
 * };
 * 
 * 3. 调用播放函数
 * playSound(clickAccent);
 */ 